<style>
.weui_cell_bd {
    padding: 0;
	min-height:1.6rem;
	line-height:1.6rem;
}
.weui_cell_hd {min-width:3.7rem;padding: 0 4px;}
.weui_input {padding:0}
</style>
<style>
.fui-goods-item .image {
    height: 7rem;
    width: 10rem;
}
.fui-goods-group {
    padding:0.3rem
}
.timer {
    font-size: .6rem;
    height: .95rem;
    color: #ef4f4f;
}
.timer span {
    display: inline-block;
    background:#582e19;
    color:#fff;
    width:.9rem;height:.9rem;
    border-radius: .1rem;
    line-height:.9rem;
    font-size:.5rem; text-align: center;
}
.radius .jy-group {border-radius:0.5rem;margin:0.35rem 0.5rem}
.radius .jy-group .fui-cell-group{border-radius:0.5rem;margin-top:0}
.bgfff .jy-group {background: #fff}
.btn {border-radius:1rem}
</style>
<div class='fui-page fui-page-current page-commission-register'>
	<div ng-if="pagedata.applystatus!=3 && !pagedata.applyagain" class='fui-content'>
		<div ng-if="pagedata.applystatus==4" class='content-info' >
            <i class='icon icon-clock'></i>
            <br/><span class="">谢谢您的支持，请等待审核！</span>
            <br/><a class="btn btn-danger" href="javascript:;" ng-click="access_json('jy_newczfee/index/')">前往会员中心</a>
        </div>
		<div ng-if="pagedata.applystatus==1" class='content-info' >
            <i class='icon icon-clock'></i>
            <br/><span class="">恭喜您，您的大客户申请已审核通过！</span>
            <br/><a class="btn btn-danger" href="javascript:;" ng-click="access_json('jy_newczfee/index/')">前往会员中心</a>
        </div>
		<div ng-if="pagedata.applystatus==5" class='content-info' >
            <i class='icon icon-clock'></i>
            <br/><span class="">非常抱歉，您的大客户申请被管理员拒绝！</span>
			<br/><span class="">未审核通过原因：</span>
			<br/><span class="subtitle">{{pagedata.apply.remark || '无'}}</span>
            <br/><a class="btn btn-danger" href="javascript:;" ng-click="pagedata.applyagain=1">重新申请</a>
        </div>
		<div ng-if="pagedata.applystatus==3" class='content-info' >
            <i class='icon icon-clock'></i>
            <br/><span class="">非常抱歉，您会员等级有变动，以往申请已失效！</span>
            <br/><a class="btn btn-danger" href="javascript:;" ng-click="pagedata.applyagain=1">重新申请</a>
        </div>
	</div>
    <div ng-if="pagedata.applystatus==3 || pagedata.applyagain" class='fui-content'>
	<div class="jy-content">
        <div class="weui_cells_title">上传认证视频</div>
		<div class="weui_cells weui_cells_form">
			<div class="weui_cell">
								<div class="weui_cell_bd weui_cell_primary" style="">
									<ul class="weui_uploader_files" ng-if="pagedata.item.video">
										  <li class="weui_uploader_file" style="width: 108px;height: 60px;background: #333;">
											<video ng-src="{{tomedia(pagedata.item.video)}}" poster="{{tomedia(pagedata.item.thumb)}}" height="60" width="100%"  x5-playsinline="" playsinline="" webkit-playsinline="" poster="" preload="auto"></video>
										  </li>
									</ul>
									<div class="weui_uploader_input_wrp">
										 <input class="weui_uploader_input" ng-click="choose_source(pagedata.item,['video','thumb'],'video')"  multiple="">
									</div>
								</div>
			</div>
			<div ng-if="pagedata.pluginset.video_desc" class="weui_cell gray">
			<div class="fui-article-content" ng-bind-html="trust(pagedata.pluginset.video_desc)"></div>
			</div>
		</div>
        <div class="fui-cell-group">
                <div class="fui-cell small ">
                    <div class="fui-cell-info">
                        <label class="checkbox-inline">
                            <input type="checkbox" class="fui fui-checkbox fui-checkbox-danger" ng-checked="pagedata.item.agree==1" ng-model="pagedata.item.agree" /> 我已经阅读并了解了<a id="btn-apply" ng-click="pagedata.show_content=true" style="color:#337ab7;">【{{pagedata.xieyi.title}}】</a>。
                        </label>

                    </div>
                </div>

        </div>
        <div class='btn btn-danger block btn-submit' style="margin-top:2rem" ng-click="post(pagedata.item,'/upvideo/post/')">提交认证视频</div>
	</div>
	</div>
	<div ng-if="pagedata.show_content" class="popup">
		<div class="popup-body">
			<div class="popup-center">
				<i class="closed icon icon-cuowu" ng-click="pagedata.show_content=false"></i>
				<div class="content-images" style="padding:0.5rem;height:20rem; overflow-y:scroll;">
						<div class="title bold" style="font-size:0.8rem">{{pagedata.xieyi.title || '客户隐私协议'}} / <small>Read Ggree</small></div>
						<div class="text" style="padding-top:0.5rem;font-size:0.7rem" ng-bind-html="trust(pagedata.xieyi.content)">
						</div>
				</div>
				<div class="modal-footer">
					<div ng-click="pagedata.show_content=false;pagedata.item.agree=1;" class="mod-check" style="width: 100%; margin: 0;">我已阅读</div>
				</div>
			</div>
		</div>
	</div>
</div>
